import axios from '@/utils/request';

const appName = process.env.VUE_APP_SAAS;

export default {
  // 列表
  getList (params) {
    return axios.get(`${appName}/order/list`, params);
  },
 // 物流操作
  orderExpressOperate (params) {
    return axios.post(`${appName}/order/express`, params);
  },

   // 访问明细列表
   getVisitDetailList (params) {
    return axios.get(`${appName}/order/operation/log/list`, params);
  },

   // 导出
   export (s, e) {
    return `${appName}/order/export?start_time=${s}&end_time=${e}`
  },
};
